package cglib.abstractdemo.dao.impl;

import cglib.abstractdemo.dao.Actor;

public class MovieStar extends Actor {

    private String type;

    public MovieStar(){

    }

    public MovieStar(String type) {
        super(type);
    }

    public MovieStar(String name, String type) {
        super(name, type);
        this.type = type;
    }

    @Override
    public void act() {
        System.out.println(this.name + "正在出演" + this.type + "类型的影片...");
    }
}
